home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -screenplay- / otherstuff / swosed / install < prev    next >
Text File  |  1999-04-28  |  2KB  |  78 lines

  1. ; $VER: SWOS Ed Install-Script v2.0 (10.02.99) by Piotr Bieniek
  2.  
  3.  
  4. ; przedstaw sië uûytkownikowi
  5. (message "SWOS Ed © 1999 Piotr Bieniek\n\n\n"
  6.          "This script will install SWOS Ed 1.85 "
  7.          "on your hard disk drive.")
  8. (welcome)
  9.  
  10. ; spytaj uûytkownika o miejsce instalacji
  11. (set default-dest
  12.      (tackon (askdir (prompt "Where would you like to install SWOS Ed?\n"
  13.                              "A drawer called 'SWOSEd' will be created there.")
  14.                      (help @askdir-help)
  15.                      (default @default-dest)
  16.              )
  17.      "SWOSEd"
  18.      )
  19. )
  20. (set @default-dest default-dest)
  21.  
  22. ; stworzenie potrzebnych katalogów
  23. (makedir @default-dest
  24.          (infos)
  25. )
  26.  
  27. (complete 20)
  28.  
  29. ; skopiuj odpowiednie pliki
  30. (copyfiles (source "SWOSEd")
  31.            (dest @default-dest)
  32.            (infos)
  33. )
  34. (complete 40)
  35.  
  36. (copyfiles (source "Catalogs")
  37.            (dest (tackon @default-dest "Catalogs"))
  38.            (all)
  39. )
  40. (complete 60)
  41.  
  42. (copyfiles (source "Help")
  43.            (dest (tackon @default-dest "Help"))
  44.            (all)
  45. )
  46. (copyfiles (source "Help.info")
  47.            (dest @default-dest)
  48. )
  49. (complete 80)
  50.  
  51. ; zainstaluj ProPack Clone'a
  52. (set instppclone (askoptions (choices "Install ProPack Clone")
  53.                              (prompt "Would you like to install ProPack Clone\n"
  54.                                      "(c) 1999 Paul Qureshi <paul@mc68k.demon.co.uk>\n"
  55.                                      "on your hard disk drive?\n\n"
  56.                                      "Installation of ProPack Clone is highly recommended\n")
  57.                              (help @askoptions-help)
  58.                              (default 1)
  59.                  )
  60. )
  61. (if (= instppclone 1)
  62.  (
  63.  
  64.   (set ppclone-dest
  65.      (askdir (prompt "Where would you like to install ProPack Clone?\n"
  66.                      "It should be somewhere in your C: directory.")
  67.              (help @askdir-help)
  68.              (default "C:")
  69.      )
  70.   )
  71.  
  72.   (copyfiles (source "Extras/PPClone/PPClone")
  73.              (dest ppclone-dest)
  74.   )
  75.  
  76.  )
  77. )
  78.